﻿using System;
using System.ComponentModel;

namespace TimedTask
{
    /// <summary>
    /// 运行模式 
    /// </summary>
    public enum RunMode
    {
        [Description("每年")]
        Year = 0,
        [Description("每月")]
        Month = 1,
        [Description("每天")]
        Day = 2,
        [Description("每小时")]
        Hour = 3,
        [Description("间隔分钟")]
        Minute = 4,
        [Description("一次")]
        Once = 5,
        [Description("每周")]
        Week = 6
    }
}
